<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../include/admincontent.jsp" %>
<link rel="stylesheet" type="text/css"
      href="${pageContext.request.contextPath}/resources/bishi/lib/layui/css/layui.css"/>
<link rel="stylesheet" type="text/css"
      href="${pageContext.request.contextPath}/resources/bishi/style/knowlegPoints.css"/>

<body>
<div class="add-konw">
    <div id="location">当前位置：首页 &gt; 知识点管理 &gt; 添加知识点</div>
    <div id="content">
        <div class="btnbar">
            <button class="save">
                <em class="ico16 save_traft_16"></em>
                <span class="menu_span" title="保存">保存</span>
            </button>
            <button class="back" onclick="location='/KnowledgeManager/';">
                <em class="ico16 cancle_publish_16"></em>
                <span class="menu_span" title="返回">返回</span>
            </button>
        </div>
        <div class="table-cont">
            <table class="treeTable inputform" cellpadding="0" cellspacing="0" width="100%">
                <thead>
                <tr>
                    <td colspan="2" class="table-title">基本信息</td>
                </tr>
                </thead>
                <tbody>
                <tr>
                    <td width="110">知识点名称：</td>
                    <td><input type="text" name="kname" datatype="*" nullmsg="知识点不能为空！"></td>
                </tr>
                </tbody>
            </table>
            <p class="table-title">岗位关系</p>
            <table id="add-point-table" lay-filter="add-point-table" class="treeTable inputform krule"></table>
        </div>
    </div>
</div>

<div id="add-position">
    <div class="btnbar">
        <button class="save">
            <em class="ico16 save_traft_16"></em>
            <span class="menu_span" title="保存">保存</span>
        </button>
    </div>
    <!-- 筛选条件 -->
    <div>
        <form id="positionSearchbox" action="">
            <table width="100%" class="treeTable searchform" cellpadding="0" cellspacing="0">
                <thead>
                <tr>
                    <td width="60">关键字：</td>
                    <td width="140"><input type="text" name="key" class="search-input" placeholder="请输入关键字"></td>
                    <td>
                        <button id="searchbtn" type="button" class="search">
                            <em class="ico16 search_16"></em>
                            <span class="menu_span" title="查询">查询</span>
                        </button>
                    </td>
                </tr>
                </thead>
            </table>
        </form>
    </div>
    <table id="position-table" lay-filter="popositionint-table"></table>
</div>

<script type="text/html" id="toolbar">
    <span class="del-span" lay-event="del"><button type="button" class="layui-btn layui-btn-xs"
                                                   style="height: 22px !important;line-height: 22px;padding: 0 5px;font-size: 12px;    display: inline-block;white-space: nowrap;text-align: center;border: none;border-radius: 12px;margin: 2px 0 0 5px;cursor: pointer;outline: 0;-webkit-appearance: none;-webkit-transition: all .3s;box-sizing: border-box;width: 22px;background-color: orangered !important; color: #fff !important;">-</button> </span>
</script>

<script type="text/javascript"
        src="${pageContext.request.contextPath}/resources/bishi/lib/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/bishi/lib/layui/layui.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/resources/bishi/js/addKnowLeg.js"></script>
</body>

</html>